package com.tuanbiao.data.entity;

import com.tuanbiao.dialog.SelectDialog;

import java.io.Serializable;

/**
 * @author abiao
 * @date 2022/10/26 17:02
 * @description:
 */
public class ZBServiceItem implements SelectDialog.SelectItem, Serializable {
    private long id;
    private String ip;
    private String name;
    private int port;

    public ZBServiceItem() {
    }

    public ZBServiceItem(long id, String ip, String name, int port) {
        this.id = id;
        this.ip = ip;
        this.name = name;
        this.port = port;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    @Override
    public String itemName() {
        return name;
    }

}
